package com.qidian.mes.md.controller;

import com.qidian.mes.pojo.Customer;
import com.qidian.mes.util.pojo.MESResult;
import org.springframework.web.bind.annotation.*;

/**
 * @Author 戴着假发的程序员
 * @Company 起点编程
 * @Time 2023/10/30 14:09
 * @Description
 */
@CrossOrigin
@RestController
@RequestMapping("/customer")
public class CustomerController {

    @PostMapping("/save")
    public MESResult save(@RequestBody Customer customer){
        System.out.println(customer);
        return MESResult.ok();
    }
}
